package com.baidu.mpks.dal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class DataAccessSource {
    private int id;
    private String name;
    private int nodeId;
    private String job;
    private int status;
    private String schedule;
    private String sliceKey;
    private int totalData;
    private int accessType;
    private long triggerLastTime;
    private long triggerNextTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private int validFlag;
}
